package com.example.demo.repository;

import com.example.demo.mode.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudentRepository extends JpaRepository<Student,String> {




    List<Student> findBynameAndAge(String name, Integer age);

    List<Student> findByNameAndAge(String name, Integer age);

    List<Student> findByName(String name);


}
